-- GENERATED SPELL FOR [Bloodscale Slavedriver] --


function spell0_18089(pUnit, Event) --@Battle Shout,Self--
pUnit:FullCastSpellOnTarget(32064,pUnit)
pUnit:RegisterEvent('Sorts_18089', 587, 1)
end

function Sorts_18089(pUnit, Event)
local choix_sorts_18089 = math.random(0, 0)
if choix_sorts_18089 == 0 then
pUnit:RegisterEvent('spell0_18089', 1, 1)
end
end

function mob18089_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_18089', math.random(1500, 3000), 1)
end

function mob18089_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18089_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob18089_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(18089, 1, 'mob18089_Action')
RegisterUnitEvent(18089, 2, 'mob18089_Leave')
RegisterUnitEvent(18089, 3, 'mob18089_Kill')
RegisterUnitEvent(18089, 4, 'mob18089_Die')
